import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)
const routes = [
  { 
    path: '/hello', 
    component: () => import('../components/hello/helloIndex.vue')
  }
]

const router = new VueRouter({
  linkActiveClass: 'on', // 全局配置<router-link>默认激活的class
  routes
})


export default router
